/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.click.app.service;

import com.click.app.model.Cart;
import com.click.app.model.Product;
import com.click.app.model.User;
import java.util.List;

/**
 *
 * @author arnold
 */
public interface CartManager extends GenericManager<Cart, Long> {

    List<Cart> findById(Long id);

    List<Cart> findCartByProduct(Product product);

    List<Cart> findCartByUser(User user);

    List<Cart> findAllIds(List<Long> listIds);


}
